﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System.Collections.Generic;
using System.Reflection;
using System.Web;

namespace DNA.Mvc.Installation
{
    public class InstallationContext : TraceableCommandContext<InstallerBase>
    {
        public InstallationContext() : base() { }

        public InstallationContext(object _params) : base(_params) { }

        /// <summary>
        /// Gets the current httpcontext object.
        /// </summary>
        public virtual HttpContextBase HttpContext { get; set; }

        /// <summary>
        /// Gets the current installer.
        /// </summary>
        public virtual InstallerBase Installer
        {
            get { return this.InnerCommand; }
            set { this.InnerCommand = value; }
        }

    }
}
